#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main() {
	int n = 0;
	int m = 2;
	scanf("%d", &n);
	while (n >= 12) {
		m += 4;
		n = n - 12;
	}
	printf("%d", m);
	return 0;
}